home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / axterix.swf / scripts / DefineButton2_80 / BUTTONCONDACTION on(keyPress Space).as < prev    next >
Text File  |  2011-09-19  |  514b  |  31 lines

  1. on(keyPress "<Space>"){
  2.    sonMC.gotoAndPlay(4);
  3.    if(choix == 1)
  4.    {
  5.       qualite = "medium";
  6.       percentScaling = 90;
  7.       if(menubis == true)
  8.       {
  9.          gotoAndPlay(240);
  10.       }
  11.       else
  12.       {
  13.          gotoAndStop(270);
  14.       }
  15.    }
  16.    if(choix == 2)
  17.    {
  18.       sonMC.gotoAndPlay(4);
  19.       percentScaling = 65;
  20.       qualite = "low";
  21.       if(menubis == true)
  22.       {
  23.          gotoAndPlay(240);
  24.       }
  25.       else
  26.       {
  27.          gotoAndStop(270);
  28.       }
  29.    }
  30. }
  31.